<div class="modal" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <form name="bottleForm" novalidate>
                <div class="modal-header">
                    <button type="button" class="close" ng-click="close(false)" data-dismiss="modal"
                            aria-hidden="true">&times;</button> <h4 class="modal-title">&nbsp;{{modalTitle}}&nbsp;</h4>
                </div>

                <div class="modal-body">
                    <div class="input-group pdb15">
                        <label class="col-sm-4 control-label input-label-large">钢瓶编码：</label>
                        <div class="col-sm-8 input-width">
                            <input type="text" name="number" class="form-control" ng-model="vm.bottle.number"  ng-disabled="isModify" required>
                        </div>
                        <label class="input-tips" ng-show="bottleForm.number.$error.required || bottleForm.number.$invalid">&nbsp;*&nbsp;必填项</label>
                    </div>
                    <div class="input-group pdb15">
                        <label class="col-sm-4 control-label input-label-large">规格：</label>
                        <div class="col-sm-8 input-width">
                            <select name="spec" ng-model="vm.bottle.spec" ng-options="spec.name for spec in vm.config.specs" class="form-control" ng-selected=""></select>
                        </div>
                    </div>
                    <div class="input-group pdb15">
                        <label class="col-sm-4 control-label input-label-large">皮重：</label>
                        <div class="col-sm-8 input-width">
                            <input type="text" name="tareWeight" class="form-control" ng-model="vm.bottle.tareWeight"  required>
                        </div>
                        <label class="input-tips" ng-show="bottleForm.tareWeight.$error.required || bottleForm.tareWeight.$invalid">&nbsp;*&nbsp;必填项</label>
                    </div>


                    <div class="input-group pdb15" >
                        <label class="col-sm-4 control-label input-label-large">生产日期：</label>
                        <div class="col-sm-8 input-width">
                            <input type="text"   id="datetimepickerProductionDate" name="productionDate" class="form-control" ng-model="vm.bottle.productionDate" required>
                        </div>
                    </div>



                    <div class="input-group pdb15">
                        <label class="col-sm-4 control-label input-label-large">上次钢检日期：</label>
                        <div class="col-sm-8 input-width">
                            <input type="text" id='datetimepickerVerifyDate' name="verifyDate" class="form-control" ng-model="vm.bottle.verifyDate"  required>
                        </div>
                    </div>
                    <div class="input-group pdb15">
                        <label class="col-sm-4 control-label input-label-large">下次钢检日期：</label>
                        <div class="col-sm-8 input-width">
                            <input type="text" id='datetimepickerNextVerifyDate' name="nextVerifyDate" class="form-control" ng-model="vm.bottle.nextVerifyDate"  required>
                        </div>
                    </div>
                    <div class="input-group pdb15">
                        <label class="col-sm-4 control-label input-label-large">报废日期：</label>
                        <div class="col-sm-8 input-width">
                            <input type="text" id='datetimepickerScrapDate' name="scrapDate" class="form-control" ng-model="vm.bottle.scrapDate"  required>
                        </div>
                    </div>
                    <!--<div class="input-group pdb15">-->
                        <!--<label class="col-sm-4 control-label input-label-large">启用状态：</label>-->
                        <!--<div class="col-sm-8 input-width">-->
                            <!--<select name="status" ng-model="vm.bottle.lifeStatus" ng-options="lifeStatus.value as lifeStatus.name for lifeStatus in vm.config.lifeStatus" class="form-control" ng-selected=""></select>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="input-group pdb15">-->
                        <!--<label class="col-sm-4 control-label input-label-large">工作状态：</label>-->
                        <!--<div class="col-sm-8 input-width">-->
                            <!--<select name="status" ng-model="vm.bottle.serviceStatus" ng-options="serviceStatus.value as serviceStatus.name for serviceStatus in vm.config.serviceStatus" class="form-control" ng-selected=""></select>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="input-group pdb15" ng-if="isModify">-->
                        <!--<label class="col-sm-4 control-label input-label-large">定位终端编码：</label>-->
                        <!--<div class="col-sm-8 input-width">-->
                            <!--<input type="text" name="locationDevNumber" class="form-control" ng-model="vm.bottle.locationDevice.number"  required>-->
                        <!--</div>-->
                        <!--<button ng-if="isBinded" type="button" class="btn btn-sm btn-danger" ng-click="unBind()"><i class="fa fa-plus"></i> 解绑 </button>-->
                        <!--<button ng-if="!isBinded" type="button" class="btn btn-sm btn-success" ng-click="bind()"><i class="fa fa-plus"></i> 绑定 </button>-->
                    <!--</div>-->

                </div>






                <div class="modal-footer">
                    <button type="submit" ng-click="submit(vm.bottle);" class="btn btn-primary" data-dismiss="modal">保存</button>
                    <button type="button" ng-click="close(false)" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </form>
        </div>
    </div>
</div>